#ifndef PLAYER_H
#define PLAYER_H

#include "Hand.h"

const int PLAYER_STARTING_CHIPS = 100;

enum PlayerState {
	IN,
	FOLD,
	OUT //Out of the game (no more chips)
};

struct Player {
	PlayerHand hand;
	int chips;
	PlayerState state;
	int currentBet;
	bool turnSet;
	bool turnDone; // If true the player won't be able to act before a winner is declare for the turn, and is out if he loses.
};

void InitPlayer(Player &player);

#endif